<li ng-repeat="v in user">
    <!-- user对应锚点名称添加参数会对应url参数赋值  -->
    <a href="" ui-sref="user({id:v.id})">{{v.name}}</a>
</li>


<!-- <li ng-repeat='v in user'>
    <a href="#/user/{id: v.id}"></a>
</li> -->
